<template>
   <div>
       我是音乐
       <button @click="goMovie">跳转到电影</button>
       <button @click="goback">向上一页</button>
       <button @click="go">下一页</button>
   </div>
</template>

<script>
   export default {
       data () {
       return {

       }
   },
   methods: {
       goMovie(){
           this.$router.push({
               name: 'movie'
           })
       },
       goback(){
           this.$router.go(-1);
       },
       go(){
           this.$router.go(1)
       }
   }
 }
</script>

<style>
 
</style>
